from django.shortcuts import render
from .serializers import UserSerializer
from .models import User
from rest_framework import viewsets, mixins


# Create your views here.
class UserViews(viewsets.ModelViewSet):
    serializer_class = UserSerializer

    def get_queryset(self):
        return User.objects.all()
